package com.example.service;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @Description
 * @Author 26233
 * @Create 2021-11-02 13:35:30
 */

public class UserServiceImpl extends UnicastRemoteObject implements UserService {
    public UserServiceImpl() throws RemoteException {
    }
    @Override
    public String findUser(String id) throws RemoteException {
        System.out.println("id = " + id);
        return "user: " + id;
    }
}
